import { UserState, UserInfo } from "./types";

export const initUserInfo = (): UserInfo => ({
  id: 0,
  name: "",
  isLogin: false,
  accessToken: "",
});

const userState: UserState = {
  userInfo: initUserInfo(),
  accessToken: "",
};

export default userState;
